package me.bcloud.web.spring;

import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Queue;


import me.bcloud.web.domain.JobConfig;
import me.bcloud.web.domain.User;
import me.bcloud.web.domain.WorkUser;

import org.springframework.stereotype.Component;

@Component
public class Cache {

	
	
	private Map<Integer, HashMap<Integer, WorkUser>> workMap;
	
	private Map<Integer, Queue<User>> cacheMap;
	
    private Map<Integer, JobConfig> jobMap;

	
	public Cache() {
		workMap=new HashMap<Integer, HashMap<Integer, WorkUser>>();
		cacheMap=new HashMap<Integer, Queue<User>>();
		jobMap = new HashMap<Integer, JobConfig>();
	}
	
		
	public Map<Integer, Queue<User>> getCacheMap() {
		return cacheMap;
	}
	
	public Map<Integer, HashMap<Integer, WorkUser>> getWorkMap() {
		return workMap;
	}
	
	public Map<Integer, JobConfig> getJobMap() {
		return jobMap;
	}





	
}
